<template>
  <div class="warehouse-home">
    <!-- 顶部横幅 -->
    <div class="header-banner">
      <h1>📦 仓库管理系统</h1>
      <p>Warehouse Management System</p>
    </div>

    <!-- 中部功能提示区域（空内容可后续扩展） -->
    <div class="main-panels">
      <div class="panel-card">
        <div class="empty-block">欢迎使用仓库管理系统</div>
      </div>
    </div>

    <!-- 底部信息 -->
    <div class="footer-info">© 2025 仓库管理系统 · 版本 1.0.0</div>
  </div>
</template>

<script>
export default {
  name: "WarehouseHome",
};
</script>

<style scoped>
.warehouse-home {
  background: linear-gradient(135deg, #f5f7fa, #e4ecf5);
  padding: 30px;
  min-height: 100vh;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 顶部横幅 */
.header-banner {
  background: linear-gradient(90deg, #409eff, #66b1ff);
  padding: 48px 32px;
  border-radius: 16px;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(64, 158, 255, 0.2);
  animation: fadeInDown 0.8s ease;
}
.header-banner h1 {
  margin: 0;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 1px;
}
.header-banner p {
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.9;
}

/* 中部主功能区 */
.main-panels {
  margin-bottom: 30px;
}
.panel-card .empty-block {
  height: 240px;
  border: 2px dashed #a0cfff;
  border-radius: 10px;
  color: #409eff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background-color: #ffffff;
  transition: all 0.3s;
}
.panel-card .empty-block:hover {
  background-color: #f0f8ff;
  border-color: #66b1ff;
}

/* 底部信息 */
.footer-info {
  text-align: center;
  padding: 16px;
  color: #666;
  font-size: 14px;
  background-color: #f0f2f5;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 动画 */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
</style>
